atom(script) BindTriggers()
{
	AddTrigger Leveled "You have gained a level! Welcome to level @level@!"
	AddTrigger LootedCoin "You receive @money@ from the corpse."
	AddTrigger LootedCoin "You receive @money@ as your split."
	AddTrigger TargetFace "You cannot see your target."
	AddTrigger SkillUp "You have become better at @name@! (@value@)"
	AddTrigger LoreItem "@.@Lore@.@"
	AddTrigger Kill "You have slain @name@!"
}
function Leveled(Line,level)
{
	EA "TRIGGER" "You are now level ${level}!"
	Avatar:EC["You are now level ${level}!"]
	
}
function LootedCoin(Line,money)
{
	EA "TRIGGER" "You obtained ${money}."
	Loot:EC["You obtained ${money}."]
}
function TargetFace()
{
	Move:FaceTarget
}
function SkillUp(Line,name,value)
{
	EA "TRIGGER" "Skill up! ${name} (${value})"
	Avatar:EC["Skill up! ${name} (${value})"]
}
function LoreItem()
{
	EA "TRIGGER" "Tried to loot duplicate Lore item."
	Scan:BlacklistID[${Loot.LastLooted}]
	Scan:ClearTarget
	Loot.DoneLooting:Set[TRUE]
}
function Kill(Line,name)
{
	EA "TRIGGER" "You have killed ${name}."
	Action.LastKill:Set[${LavishScript.RunningTime}]
	Action.Kills:Inc
}